diff src/CMakeLists.txt @ 1:7a2637c3eb83

Add csv parser from libqxt
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 23 Mar 2015 16:33:26 +0100
parents 147b08bc7d64
children 97d2c8869c39
line wrap: on
line diff
--- a/src/CMakeLists.txt	Mon Mar 23 12:41:52 2015 +0100
+++ b/src/CMakeLists.txt	Mon Mar 23 16:33:26 2015 +0100
@@ -7,6 +7,7 @@
 include_directories(${Qt5Widgets_INCLUDE_DIRS})
 
 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+include_directories(libqxt)
 
 add_definitions(${Qt5Widgets_DEFINITIONS})
 
@@ -72,6 +73,8 @@
       ${CMAKE_CURRENT_SOURCE_DIR}/l10n/main_de_DE.ts)
 endif()
 
+add_subdirectory(libqxt)
+
 add_executable(${PROJECT_NAME}
    ${_add_executable_params}
    #   ${IMG_SRC}
@@ -83,7 +86,9 @@
 
 target_link_libraries(${PROJECT_NAME}
    Qt5::Widgets
-   ${EXTRA_STATIC_LIBS})
+   ${EXTRA_STATIC_LIBS}
+   ${PROJECT_NAME}_libqxt
+)
 
 if (WIN32)
    set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-municode")
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)