CMake: Provide proper interface targets from dependencies

This commit is contained in:
Aokromes committed 2016-05-23 05:56:48 +02:00
1 parent aec309a533
commit 6564fcffdf
23 files changed
+465 -237

No files matched your search

-9
View File
@@ -1,12 +1,3 @@
# Package overloads - Linux
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
if (NOT NOJEM)
set(JEMALLOC_LIBRARY "jemalloc")
add_definitions(-DNO_BUFFERPOOL)
message(STATUS "UNIX: Using jemalloc")
endif()
endif()
# set default configuration directory
if( NOT CONF_DIR )
set(CONF_DIR ${CMAKE_INSTALL_PREFIX}/etc)
+4 -4
View File
@@ -1,7 +1,3 @@
# Package overloads
set(BZIP2_LIBRARIES "bzip2")
set(ZLIB_LIBRARIES "zlib")
# check the CMake preload parameters (commented out by default)
# overload CMAKE_INSTALL_PREFIX if not being set properly
@@ -13,6 +9,10 @@ set(ZLIB_LIBRARIES "zlib")
# endif()
#endif()
if (WIN32)
add_definitions(-D_WIN32_WINNT=0x0601)
endif()
if ( MSVC )
include(${CMAKE_SOURCE_DIR}/cmake/compiler/msvc/settings.cmake)
elseif ( MINGW )