Unverified Commit 0e85b18b authored by William Gurecky's avatar William Gurecky Committed by GitHub
Browse files

Disables the FMU unit test if BUILD_SHARED_LIBS is FALSE (#4647) (#314)

* disables the FMU unit test if BUILD_SHARED_LIBS is FALSE since FMU test requires shared libs (#4647)

* adds TESTONLY argument to TRIBITS_ADD_LIBRARY in the FMU test
parent 1a5e84cd
......@@ -9,6 +9,5 @@
INCLUDE(Futility_CreateUnitTest)
ADD_SUBDIRECTORY(testFMU_BouncingBall)
Futility_CreateUnitTest(testFMU_Wrapper)
......@@ -10,7 +10,7 @@
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
TRIBITS_ADD_LIBRARY(testFMUBouncingBall SHARED
TRIBITS_ADD_LIBRARY(testFMUBouncingBall SHARED TESTONLY
HEADERS
fmu2_model.h
fmu2_model_defines.h
......
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