Skip to content

Commit 302c453

Browse files
committed
BUG: Specifying unix newlines regardless of how file is checked out
1 parent 7c335c6 commit 302c453

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,9 @@ jsoncpp_parse_version( ${JSONCPP_VERSION} JSONCPP_VERSION )
7373
MESSAGE(STATUS "JsonCpp Version: ${JSONCPP_VERSION_MAJOR}.${JSONCPP_VERSION_MINOR}.${JSONCPP_VERSION_PATCH}")
7474
# File version.h is only regenerated on CMake configure step
7575
CONFIGURE_FILE( "${PROJECT_SOURCE_DIR}/src/lib_json/version.h.in"
76-
"${PROJECT_SOURCE_DIR}/include/json/version.h"
77-
NEWLINE_STYLE UNIX )
76+
"${PROJECT_SOURCE_DIR}/include/json/version.h" )
7877
CONFIGURE_FILE( "${PROJECT_SOURCE_DIR}/version.in"
79-
"${PROJECT_SOURCE_DIR}/version"
80-
NEWLINE_STYLE UNIX )
78+
"${PROJECT_SOURCE_DIR}/version" )
8179

8280
macro(UseCompilationWarningAsError)
8381
if ( MSVC )

0 commit comments

Comments
 (0)