Commit 0dca4ba2 authored by Martin Heistermann's avatar Martin Heistermann

acg fix

parent 86c7a49a
Pipeline #11740 passed with stage
in 4 minutes and 33 seconds
......@@ -79,12 +79,15 @@ configure_file (
)
# If we are in a subdirectory of another project that has a ACGCommon module
# (e.g. OpenFlipper), we will use acg_add_library; otherwise behave "normally".
include(ACGCommon OPTIONAL RESULT_VARIABLE IN_ACG_BUILD)
if(IN_ACG_BUILD)
message("OVM is being built as part of an ACG project, using acg_add_library!")
if (WIN32)
add_library(OpenVolumeMesh STATIC ${SOURCE_FILES})
acg_add_library(OpenVolumeMesh STATIC ${SOURCE_FILES})
else()
add_library(OpenVolumeMesh SHARED ${SOURCE_FILES})
acg_add_library(OpenVolumeMesh SHARED ${SOURCE_FILES})
endif()
else(IN_ACG_BUILD)
if (WIN32)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment