Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-bianchi authored Jun 7, 2017
1 parent 4ab02cc commit d5e6177
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,15 @@ message("CMAKE_CURRENT_SOURCE_DIR: " ${CMAKE_CURRENT_SOURCE_DIR}) # this points
# adding the top folder storing the headers
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/src )

# adding include directories
target_include_directories( SoQt PUBLIC ${COIN3D_INCLUDE_DIRS} )

# Component(s) in the package:
add_library( SoQt SHARED ${SOQT_SOURCES} )

target_compile_definitions( SoQt PRIVATE SOQT_INTERNAL SOQT_DEBUG=1 ) # adding "-DSOQT_INTERNAL -DSOQT_DEBUG=1" compilation definitions to the compilation command of the SoQt library
target_link_libraries( SoQt ${COIN3D_LIBRARIES} Qt5::Core Qt5::OpenGL Qt5::Gui GL )

# adding include directories
target_include_directories( SoQt PUBLIC ${COIN3D_INCLUDE_DIRS} )

# default installation path is under /usr/local,
# but you can modify it at setup time with, e.g.: 'cmake -DCMAKE_INSTALL_PREFIX=$PWD/local ../SoQt'
message( "Files will be installed under the path: " ${CMAKE_INSTALL_PREFIX} )
Expand Down

0 comments on commit d5e6177

Please sign in to comment.