Merge pull request #2116 from mc-server/CMakeCacheOptions
Add build_tools and Self_test as cache options, so that CLion can det…
This commit is contained in:
commit
97a418f6c1
@ -52,6 +52,9 @@ if(MSVC OR MSVC_IDE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(BUILD_TOOLS OFF CACHE BOOL "")
|
||||
set(SELF_TEST OFF CACHE BOOL "")
|
||||
|
||||
# This has to be done before any flags have been set up.
|
||||
if(${BUILD_TOOLS})
|
||||
message("Building tools")
|
||||
|
Loading…
Reference in New Issue
Block a user