Skip to content

Commit

Permalink
cmake: Removed wrong -DCRITERION_BUILDING_DLL definition when buildin…
Browse files Browse the repository at this point in the history
…g samples and tests
  • Loading branch information
Snaipe committed Feb 7, 2017
1 parent d241402 commit 1785c47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ if (NOT MSVC)
endif ()
endif ()

remove_definitions(-DCRITERION_BUILDING_DLL=1)

include_directories(../include)

set(SAMPLES
Expand Down
2 changes: 2 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ if (NOT MSVC)
endif ()
endif ()

remove_definitions(-DCRITERION_BUILDING_DLL=1)

include_directories(../include ../src)

set(TEST_SOURCES
Expand Down

0 comments on commit 1785c47

Please sign in to comment.