mirror of
https://github.com/dropbox/json11.git
synced 2024-12-15 08:50:05 +08:00
Merge pull request #90 from njwhite/master
don't override CMAKE_INSTALL_PREFIX if specified
This commit is contained in:
commit
8d7936d757
@ -8,7 +8,9 @@ option(JSON11_ENABLE_DR1467_CANARY "Enable canary test for DR 1467" OFF)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_INSTALL_PREFIX /usr)
|
||||
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
set(CMAKE_INSTALL_PREFIX /usr)
|
||||
endif()
|
||||
|
||||
add_library(json11 json11.cpp)
|
||||
target_include_directories(json11 PUBLIC ${CMAKE_SOURCE_DIR})
|
||||
|
Loading…
Reference in New Issue
Block a user