diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a695db..e5f2cee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ include(projectheader) project_header(datatypes) set(REPOSITORY_PACKAGE_NAME ${PROJECT_NAME} CACHE STRING "Repository name for ${PROJECT_NAME}" FORCE) +set(BUILD_STATIC "ON") add_subdirectory(src) # Test applications for each component. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 23c2a8c..e9074b1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,30 +3,18 @@ LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/submodules/cmake) include(projectheader) project_header(datatypes) -find_package( Qt5Core REQUIRED ) -find_package( Qt5Sql REQUIRED ) +set(BUILD_AS_STATIC "ON") -include(artifacts) - -#include_directories( SYSTEM -# ${Qt5Core_INCLUDE_DIRS} -# ${Qt5Sql_INCLUDE_DIRS} -#) +include_directories( SYSTEM +) include(compiler) -#include_directories( -#) - set(SRC_LIST ${CMAKE_CURRENT_SOURCE_DIR}/Variant.h ${CMAKE_CURRENT_SOURCE_DIR}/Variant.cpp ) -#link_directories( -# ${CMAKE_BINARY_DIR}/lib -#) - include(library) add_libraries( )