fix variable substitution
This commit is contained in:
parent
4a790f98e8
commit
199ab306ac
1 changed files with 5 additions and 5 deletions
|
@ -45,6 +45,11 @@ cmake_minimum_required(VERSION 2.6)
|
|||
# useful for clangd LSP server
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
if(EXISTS ${WIN32_CMAKE_PREFIX_PATH})
|
||||
list(APPEND CMAKE_PREFIX_PATH "${WIN32_CMAKE_PREFIX_PATH}")
|
||||
message("Using prefix path ${CMAKE_PREFIX_PATH}")
|
||||
endif()
|
||||
|
||||
# C++ standard
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
|
@ -679,11 +684,6 @@ if(WIN32)
|
|||
option(ENABLE_NSIS "Create Stratagus Window NSIS Installer" OFF)
|
||||
endif()
|
||||
|
||||
if(EXISTS WIN32_CMAKE_PREFIX_PATH)
|
||||
list(APPEND CMAKE_PREFIX_PATH "${WIN32_CMAKE_PREFIX_PATH}")
|
||||
message("Using prefix path ${CMAKE_PREFIX_PATH}")
|
||||
endif()
|
||||
|
||||
option(ENABLE_TOUCHSCREEN "Use touchscreen input" OFF)
|
||||
|
||||
option(WITH_BZIP2 "Compile Stratagus with BZip2 compression support" ON)
|
||||
|
|
Loading…
Reference in a new issue