fix: linux compile.
This commit is contained in:
@@ -29,7 +29,6 @@ endif()
|
||||
if(WIN32)
|
||||
if(DEFINED XP_PLATFORM_SUPPORT)
|
||||
message(STATUS "Support Windows XP platform => ${XP_PLATFORM_SUPPORT}.")
|
||||
include_directories(${CMAKE_SOURCE_DIR}/Gui/Control)
|
||||
add_definitions(-D_WIN32_WINNT=0x0501)
|
||||
else()
|
||||
add_definitions(-D_WIN32_WINNT=0x0601)
|
||||
@@ -37,6 +36,7 @@ endif()
|
||||
endif()
|
||||
|
||||
set(CMAKE_DEBUG_POSTFIX "d")
|
||||
include_directories(${CMAKE_SOURCE_DIR}/Gui/Control)
|
||||
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib/${CMAKE_BUILD_TYPE})
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}/)
|
||||
include_directories(${PROJECT_BINARY_DIR})
|
||||
|
||||
Reference in New Issue
Block a user