mirror of https://github.com/procxx/kepka.git
Move include paths to exe spot
This commit is contained in:
parent
979f3035f6
commit
60c77e0738
|
@ -17,9 +17,6 @@ find_package(OpenSSL REQUIRED)
|
|||
find_package(LibLZMA REQUIRED)
|
||||
find_package(GTK3 3.0 REQUIRED gtk)
|
||||
|
||||
include_directories(${GTK3_INCLUDE_DIRS})
|
||||
link_directories(${GTK3_LIBRARY_DIRS})
|
||||
|
||||
#find_package(PortAudio REQUIRED)
|
||||
#find_package(Opus REQUIRED)
|
||||
#find_package(FFmpeg REQUIRED)
|
||||
|
@ -34,12 +31,5 @@ if (NOT OPENSSL_FOUND)
|
|||
message(FATAL_ERROR OpenSSL is required)
|
||||
endif()
|
||||
|
||||
# OPENAL_LIBRARY
|
||||
# ZLIB_LIBRARIES
|
||||
# OPENSSL_LIBRARIES
|
||||
|
||||
include_directories(${OPENAL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR}
|
||||
${LIBLZMA_INCLUDE_DIRS})
|
||||
|
||||
add_subdirectory(Telegram)
|
||||
#target_link_libraries(publisher Qt5::Widgets Qt5::DBus)
|
||||
|
|
|
@ -457,9 +457,20 @@ include_directories(ThirdParty/minizip)
|
|||
|
||||
include_directories(SourceFiles SourceFiles/core)
|
||||
|
||||
include_directories(${OPENAL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS}
|
||||
${LIBZIP_INCLUDE_DIR_ZIP} ${LIBZIP_INCLUDE_DIR_ZIPCONF}
|
||||
${OPENSSL_INCLUDE_DIR} ${LIBLZMA_INCLUDE_DIRS} ${GTK3_INCLUDE_DIRS} )
|
||||
|
||||
link_directories(${GTK3_LIBRARY_DIRS})
|
||||
|
||||
# Shut up for testbuilding, remove me
|
||||
include_directories(/usr/local/opt/openal-soft/include)
|
||||
add_definitions(-Wno-switch)
|
||||
# End remove me
|
||||
|
||||
add_executable(Telegram ${APP_SRC} ${PLAT_SRC} ${THIRD_PARTY_SRC})
|
||||
target_link_libraries(Telegram Qt5::Core Qt5::Widgets) # crashpad::crashpad_client)
|
||||
target_link_libraries(Telegram ${LIBLZMA_LIBRARIES})
|
||||
target_link_libraries(Telegram ${LIBLZMA_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES} ${OPENAL_LIBRARY})
|
||||
qt5_use_modules(Telegram Core Widgets)
|
||||
|
||||
set_target_properties(Telegram PROPERTIES COTIRE_CXX_PREFIX_HEADER_INIT "SourceFiles/stdafx.h")
|
||||
|
|
Loading…
Reference in New Issue