diff --git a/CMakeLists.txt b/CMakeLists.txt index d5f1335c..61086428 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,7 +74,7 @@ set(QSINGLEAPP_SOURCE_FILES qt_add_executable(${GOLDENDICT} MANUAL_FINALIZATION) -target_sources(${GOLDENDICT} PUBLIC +target_sources(${GOLDENDICT} PRIVATE icons/flags.qrc resources.qrc src/scripts/scripts.qrc @@ -101,7 +101,7 @@ target_link_libraries(${GOLDENDICT} PRIVATE ) -target_include_directories(${GOLDENDICT} PUBLIC +target_include_directories(${GOLDENDICT} PRIVATE ${PROJECT_SOURCE_DIR}/thirdparty/qtsingleapplication/src ${PROJECT_SOURCE_DIR}/src/ ${PROJECT_SOURCE_DIR}/src/common diff --git a/CMake_Unix.cmake b/CMake_Unix.cmake index d04121aa..a04c99a1 100644 --- a/CMake_Unix.cmake +++ b/CMake_Unix.cmake @@ -67,7 +67,7 @@ if (WITH_XAPIAN) endif () if (WITH_EPWING_SUPPORT) - add_subdirectory(thirdparty/eb) + add_subdirectory(thirdparty/eb EXCLUDE_FROM_ALL) target_link_libraries(${GOLDENDICT} PRIVATE eb) endif () diff --git a/CMake_Win.cmake b/CMake_Win.cmake index 6ae5c78d..0c6d71b7 100644 --- a/CMake_Win.cmake +++ b/CMake_Win.cmake @@ -47,7 +47,7 @@ foreach (A_DLL_FILE ${DLL_FILES}) endforeach () if (WITH_EPWING_SUPPORT) - add_subdirectory(thirdparty/eb) + add_subdirectory(thirdparty/eb EXCLUDE_FROM_ALL) target_include_directories(${GOLDENDICT} PRIVATE thirdparty )