Browse Source

These flags are meaningless outside of Windows

Michael Hansen 10 years ago
parent
commit
5e6604cf13
  1. 2
      CMakeLists.txt
  2. 3
      Sources/Plasma/FeatureLib/pfLocalizationMgr/CMakeLists.txt

2
CMakeLists.txt

@ -69,6 +69,7 @@ endif()
include(PrecompiledHeader) #Precompiled Header helper macros include(PrecompiledHeader) #Precompiled Header helper macros
if(WIN32)
# libCurl isn't smart enough to detect this for us, so we have to configure it ourselves # libCurl isn't smart enough to detect this for us, so we have to configure it ourselves
option(CURL_IS_STATIC "Using the static version of libcurl?" ON) option(CURL_IS_STATIC "Using the static version of libcurl?" ON)
if(CURL_IS_STATIC) if(CURL_IS_STATIC)
@ -77,6 +78,7 @@ endif(CURL_IS_STATIC)
# Same story for expat # Same story for expat
option(EXPAT_IS_STATIC "Using the static version of libexpat" ON) option(EXPAT_IS_STATIC "Using the static version of libexpat" ON)
endif(WIN32)
option(PLASMA_EXTERNAL_RELEASE "Is this release intended for the general public?" OFF) option(PLASMA_EXTERNAL_RELEASE "Is this release intended for the general public?" OFF)
if(PLASMA_EXTERNAL_RELEASE) if(PLASMA_EXTERNAL_RELEASE)

3
Sources/Plasma/FeatureLib/pfLocalizationMgr/CMakeLists.txt

@ -3,10 +3,13 @@ include_directories(../../PubUtilLib)
include_directories(${EXPAT_INCLUDE_DIR}) include_directories(${EXPAT_INCLUDE_DIR})
if(WIN32)
add_definitions(-DWIN32) add_definitions(-DWIN32)
if(EXPAT_IS_STATIC) if(EXPAT_IS_STATIC)
add_definitions(-DXML_STATIC) add_definitions(-DXML_STATIC)
endif() endif()
endif()
set(pfLocalizationMgr_SOURCES set(pfLocalizationMgr_SOURCES
pfLocalizationDataMgr.cpp pfLocalizationDataMgr.cpp

Loading…
Cancel
Save