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
Pipeline #1699265 failed
...@@ -24,10 +24,6 @@ source_group( "src" FILES ${SOURCES} ) ...@@ -24,10 +24,6 @@ source_group( "src" FILES ${SOURCES} )
set_target_properties( GeoModelDBManager PROPERTIES set_target_properties( GeoModelDBManager PROPERTIES
VERSION ${PROJECT_VERSION} VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR} ) 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 the library.
install( TARGETS GeoModelDBManager install( TARGETS GeoModelDBManager
......
...@@ -11,7 +11,7 @@ file( GLOB HEADERS GeoModelRead/*.h ) ...@@ -11,7 +11,7 @@ file( GLOB HEADERS GeoModelRead/*.h )
# Set up the library. # Set up the library.
add_library( GeoModelRead SHARED ${HEADERS} ${SOURCES} ) add_library( GeoModelRead SHARED ${HEADERS} ${SOURCES} )
target_link_libraries( GeoModelRead PUBLIC target_link_libraries( GeoModelRead PUBLIC
GeoModelCore::GeoModelKernel GeoModelDBManager TFPersistification ) GeoModelCore::GeoModelKernel GeoModelDBManager TFPersistification )
target_include_directories( GeoModelRead PUBLIC target_include_directories( GeoModelRead PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
...@@ -21,11 +21,6 @@ source_group( "src" FILES ${SOURCES} ) ...@@ -21,11 +21,6 @@ source_group( "src" FILES ${SOURCES} )
set_target_properties( GeoModelRead PROPERTIES set_target_properties( GeoModelRead PROPERTIES
VERSION ${PROJECT_VERSION} VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR} ) 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 the library.
install( TARGETS GeoModelRead install( TARGETS GeoModelRead
......
...@@ -16,10 +16,6 @@ source_group( "src" FILES ${SOURCES} ) ...@@ -16,10 +16,6 @@ source_group( "src" FILES ${SOURCES} )
set_target_properties( GeoModelWrite PROPERTIES set_target_properties( GeoModelWrite PROPERTIES
VERSION ${PROJECT_VERSION} VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR} ) 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 the library.
install( TARGETS GeoModelWrite install( TARGETS GeoModelWrite
......
...@@ -16,11 +16,6 @@ source_group( "src" FILES ${SOURCES} ) ...@@ -16,11 +16,6 @@ source_group( "src" FILES ${SOURCES} )
set_target_properties( TFPersistification PROPERTIES set_target_properties( TFPersistification PROPERTIES
VERSION ${PROJECT_VERSION} VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR} ) 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 the library.
install( TARGETS TFPersistification install( TARGETS TFPersistification
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment