CMake: Fail* version number handling fixed
The project version number is now not user-editable anymore, and custom values get overwritten by force. Without this change, CMakeCache.txt stays at the version number it was first instantiated from. Change-Id: If9ad1549937dad98db9a0f0eda16ef752e7d74aa
This commit is contained in:
@ -9,7 +9,7 @@ ENABLE_TESTING()
|
||||
|
||||
PROJECT(Fail*)
|
||||
|
||||
set(PROJECT_VERSION "1.0.1" CACHE STRING "Fail* version number")
|
||||
set(PROJECT_VERSION "1.0.1" CACHE INTERNAL "Fail* version number" FORCE)
|
||||
|
||||
#### Put all resulting library files in <your_build_dir>/lib ####
|
||||
SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
|
||||
|
||||
Reference in New Issue
Block a user