diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/CMakeLists.txt | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index 0f72001..cf9577e 100644 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -25,6 +25,11 @@ else()  	add_library(pugixml STATIC ${SOURCES})  endif() +# Enable C++11 long long for compilers that are capable of it +if(NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STRLESS 3.1) +	target_compile_features(pugixml PUBLIC cxx_long_long_type) +endif() +  set_target_properties(pugixml PROPERTIES VERSION 1.6 SOVERSION 1)  install(TARGETS pugixml EXPORT pugixml-config  | 
