Skip to content
Snippets Groups Projects
Commit d76bb43b authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny:
Browse files

removing old Qt5 settings

parent ea0f866b
No related branches found
No related tags found
No related merge requests found
......@@ -24,10 +24,6 @@ source_group( "src" FILES ${SOURCES} )
set_target_properties( GeoModelDBManager PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR} )
if( "${CMAKE_BUILD_TYPE}" STREQUAL "Release" OR
"${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo" )
target_compile_definitions( GeoModelDBManager PUBLIC -DQT_NO_DEBUG_OUTPUT )
endif()
# Install the library.
install( TARGETS GeoModelDBManager
......
......@@ -11,7 +11,7 @@ file( GLOB HEADERS GeoModelRead/*.h )
# Set up the library.
add_library( GeoModelRead SHARED ${HEADERS} ${SOURCES} )
target_link_libraries( GeoModelRead PUBLIC
target_link_libraries( GeoModelRead PUBLIC
GeoModelCore::GeoModelKernel GeoModelDBManager TFPersistification )
target_include_directories( GeoModelRead PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
......@@ -21,11 +21,6 @@ source_group( "src" FILES ${SOURCES} )
set_target_properties( GeoModelRead PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR} )
if( "${CMAKE_BUILD_TYPE}" STREQUAL "Release" OR
"${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo" )
target_compile_definitions( GeoModelRead PUBLIC QT_NO_DEBUG_OUTPUT )
endif()
# Install the library.
install( TARGETS GeoModelRead
......
......@@ -16,10 +16,6 @@ source_group( "src" FILES ${SOURCES} )
set_target_properties( GeoModelWrite PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR} )
if( "${CMAKE_BUILD_TYPE}" STREQUAL "Release" OR
"${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo" )
target_compile_definitions( GeoModelWrite PUBLIC -DQT_NO_DEBUG_OUTPUT )
endif()
# Install the library.
install( TARGETS GeoModelWrite
......
......@@ -16,11 +16,6 @@ source_group( "src" FILES ${SOURCES} )
set_target_properties( TFPersistification PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR} )
if( "${CMAKE_BUILD_TYPE}" STREQUAL "Release" OR
"${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo" )
target_compile_definitions( TFPersistification PUBLIC
-DQT_NO_DEBUG_OUTPUT )
endif()
# Install the library.
install( TARGETS TFPersistification
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment