Skip to content
Snippets Groups Projects
Commit 5e57eab7 authored by vahrenkamp's avatar vahrenkamp
Browse files

Aded check to prevent error on multiple find_package(Simox) calls

git-svn-id: http://svn.code.sf.net/p/simox/code/trunk@484 042f3d55-54a8-47e9-b7fb-15903f145c44
parent f394ad3e
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,11 @@
# Simox_VISUALIZATION - if visualization is enabled
# Simox_USE_COIN_VISUALIZATION - if Coin3D visualization was selected
if(Simox_FOUND)
return()
endif()
set(Simox_FOUND TRUE)
# Compute paths
get_filename_component(Simox_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(Simox_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")
......
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