mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
link Qt to the shared library
This commit is contained in:
parent
ce0c9e2e1a
commit
e66c1ca552
1 changed files with 5 additions and 6 deletions
|
@ -1,14 +1,13 @@
|
|||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
set(ROOT_DIR ../..)
|
||||
set(MACRO_DIR ${ROOT_DIR}/cmake/macros)
|
||||
|
||||
set(TARGET_NAME shared)
|
||||
project(${TARGET_NAME})
|
||||
|
||||
# grab the implemenation and header files
|
||||
file(GLOB HIFI_SHARED_SRCS src/*.h src/*.cpp)
|
||||
|
||||
# create a library and set the property so it can be referenced later
|
||||
add_library(${TARGET_NAME} ${HIFI_SHARED_SRCS})
|
||||
set(HIFI_SHARED_LIBRARY ${TARGET_NAME})
|
||||
include(${MACRO_DIR}/SetupHifiLibrary.cmake)
|
||||
setup_hifi_library(${TARGET_NAME})
|
||||
|
||||
set(EXTERNAL_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external)
|
||||
|
||||
|
|
Loading…
Reference in a new issue