mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
cmake: CMAKE_SOURCE_DIR has changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38612 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8f993bfcf1
commit
0ba6efb073
@ -372,8 +372,8 @@ if(LYX_PCH)
|
||||
# PCHs not supported by cmake: http://www.cmake.org/Bug/view.php?id=1260
|
||||
# Not sure if it works for all non-msvc compilers
|
||||
include(PCHSupport_26)
|
||||
configure_file(${CMAKE_SOURCE_DIR}/pcheaders.h ${TOP_BINARY_DIR}/pcheaders.h)
|
||||
configure_file(${CMAKE_SOURCE_DIR}/config.cpp.cmake ${TOP_BINARY_DIR}/config_pch.cpp)
|
||||
configure_file(${TOP_SRC_DIR}/development/cmake/pcheaders.h ${TOP_BINARY_DIR}/pcheaders.h)
|
||||
configure_file(${TOP_SRC_DIR}/development/cmake/config.cpp.cmake ${TOP_BINARY_DIR}/config_pch.cpp)
|
||||
add_definitions(-DLYX_ENABLE_PCH)
|
||||
|
||||
if(MSVC)
|
||||
|
@ -91,7 +91,7 @@ if (LYX_VLD)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
set(FILE_RC ${CMAKE_SOURCE_DIR}/lyx.rc)
|
||||
set(FILE_RC ${TOP_SRC_DIR}/development/cmake/lyx.rc)
|
||||
message(STATUS "Using icon defined in resource file: ${FILE_RC}")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user