Fix compilation failure on mac and windows
This commit is contained in:
parent
990127e5e8
commit
0c793689ae
|
@ -190,9 +190,9 @@ if (USE_SYSTEM_QXT)
|
||||||
# We only need its header. We don't need to link to QxtCore.
|
# We only need its header. We don't need to link to QxtCore.
|
||||||
find_library(QXT_LIBRARIES QxtGui)
|
find_library(QXT_LIBRARIES QxtGui)
|
||||||
else (USE_SYSTEM_QXT)
|
else (USE_SYSTEM_QXT)
|
||||||
|
add_definitions(-DQXT_STATIC -DBUILD_QXT_GUI -DBUILD_QXT_CORE)
|
||||||
if (NOT APPLE)
|
if (NOT APPLE)
|
||||||
add_subdirectory(3rdparty/qxt)
|
add_subdirectory(3rdparty/qxt)
|
||||||
add_definitions(-DQXT_STATIC -DBUILD_QXT_GUI -DBUILD_QXT_CORE)
|
|
||||||
set(QXT_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/qxt)
|
set(QXT_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/qxt)
|
||||||
set(QXT_LIBRARIES qxt)
|
set(QXT_LIBRARIES qxt)
|
||||||
endif (NOT APPLE)
|
endif (NOT APPLE)
|
||||||
|
|
Loading…
Reference in New Issue