Skip to content

Commit

Permalink
Merge pull request open-source-parsers#764 from Melown/master
Browse files Browse the repository at this point in the history
allow out-of-source build
  • Loading branch information
cdunn2001 authored Apr 20, 2018
2 parents af17fec + 323450e commit 0221111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ SET( JSONCPP_USE_SECURE_MEMORY "0" CACHE STRING "-D...=1 to use memory-wiping al
MESSAGE(STATUS "JsonCpp Version: ${JSONCPP_VERSION_MAJOR}.${JSONCPP_VERSION_MINOR}.${JSONCPP_VERSION_PATCH}")
# File version.h is only regenerated on CMake configure step
CONFIGURE_FILE( "${PROJECT_SOURCE_DIR}/src/lib_json/version.h.in"
"${PROJECT_SOURCE_DIR}/include/json/version.h"
"${PROJECT_BINARY_DIR}/include/json/version.h"
NEWLINE_STYLE UNIX )
CONFIGURE_FILE( "${PROJECT_SOURCE_DIR}/version.in"
"${PROJECT_SOURCE_DIR}/version"
"${PROJECT_BINARY_DIR}/version"
NEWLINE_STYLE UNIX )

MACRO(UseCompilationWarningAsError)
Expand Down

0 comments on commit 0221111

Please sign in to comment.