Skip to content

Commit

Permalink
visii exports owl flags back up, so libs using it as a library can ac…
Browse files Browse the repository at this point in the history
…cess those - better solution would be if visii declares its own equivalents of those in its own namespace, and exports those
  • Loading branch information
ingowald committed Oct 8, 2020
1 parent 444cb9c commit 913f68e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -448,4 +448,14 @@ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/setup.py DESTINATION ${CMAKE_INSTA
# install(FILES ${PROJECT_SOURCE_DIR}/external/tbb/vc14/tbb.dll DESTINATION ${CMAKE_INSTALL_PREFIX})
# install(FILES ${PROJECT_SOURCE_DIR}/external/tbb/vc14/tbb_debug.dll DESTINATION ${CMAKE_INSTALL_PREFIX})
# endif(WIN32)





# If we want apps using visii to be able to also use OWL, we have to export these:
set(OWL_INCLUDES ${OWL_INCLUDES} PARENT_SCOPE)
set(OWL_VIEWER_INCLUDES ${OWL_VIEWER_INCLUDES} PARENT_SCOPE)
set(OWL_LIBRARIES ${OWL_LIBRARIES} PARENT_SCOPE)
set(OWL_VIEWER_LIBRARIES ${OWL_VIEWER_LIBRARIES} PARENT_SCOPE)
set(OWL_HAVE_TBB ${OWL_HAVE_TBB} PARENT_SCOPE)
set(OWL_CXX_FLAGS ${OWL_CXX_FLAGS} PARENT_SCOPE)

0 comments on commit 913f68e

Please sign in to comment.