Commit eff38cbc authored by FARBOS Arnaud's avatar FARBOS Arnaud

fix test compilation

parent 9353bca5
...@@ -18,6 +18,9 @@ include_directories ("${gflags_BINARY_DIR}/include/gflags") ...@@ -18,6 +18,9 @@ include_directories ("${gflags_BINARY_DIR}/include/gflags")
if (BUILD_SHARED_LIBS) if (BUILD_SHARED_LIBS)
set (type shared) set (type shared)
if (GFLAGS_IS_A_DLL)
add_definitions(-DGFLAGS_IS_A_DLL)
endif ()
else () else ()
set (type static) set (type static)
endif () endif ()
......
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