mirror of
https://github.com/gflags/gflags.git
synced 2025-04-05 05:25:04 +00:00
Merge pull request #149 from hevy-CC4477/master
Add GFLAGS_IS_A_DLL compile option for unit test which includes private config.h.
This commit is contained in:
commit
8de80b9a2d
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ include_directories ("${gflags_BINARY_DIR}/include/gflags")
|
|||
|
||||
if (BUILD_SHARED_LIBS)
|
||||
set (type shared)
|
||||
if (GFLAGS_IS_A_DLL)
|
||||
add_definitions(-DGFLAGS_IS_A_DLL)
|
||||
endif ()
|
||||
else ()
|
||||
set (type static)
|
||||
endif ()
|
||||
|
|
Loading…
Add table
Reference in a new issue