mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix building with cmake and Qt4
This commit is contained in:
parent
19c7902b53
commit
dd62e0594c
@ -13,7 +13,7 @@ lyx_add_msvc_pch(graphics)
|
||||
|
||||
include_directories(${TOP_SRC_DIR}/src/graphics)
|
||||
lyx_automoc(${TOP_SRC_DIR}/src/graphics/PreviewLoader.cpp)
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${QT_INCLUDES})
|
||||
|
||||
if(NOT LYX_MERGE_FILES)
|
||||
add_library(graphics ${library_type} ${graphics_sources} ${graphics_headers})
|
||||
|
@ -14,7 +14,7 @@ list(REMOVE_ITEM mathed_sources
|
||||
|
||||
lyx_add_msvc_pch(mathed)
|
||||
|
||||
include_directories(${TOP_SRC_DIR}/src/mathed)
|
||||
include_directories(${TOP_SRC_DIR}/src/mathed ${QT_INCLUDES})
|
||||
|
||||
if(NOT LYX_MERGE_FILES)
|
||||
add_library(mathed ${library_type} ${mathed_sources} ${mathed_headers})
|
||||
|
Loading…
Reference in New Issue
Block a user