Skip to content

Commit bc72070

Browse files
committed
Merge pull request open-source-parsers#393 from ds283/cmake-binary-dir
Change ${CMAKE_BINARY_DIR} to ${CMAKE_CURRENT_BINARY_DIR}
2 parents 9234cbb + 2cca1cd commit bc72070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ IF(JSONCPP_WITH_PKGCONFIG_SUPPORT)
129129
"pkg-config/jsoncpp.pc.in"
130130
"pkg-config/jsoncpp.pc"
131131
@ONLY)
132-
INSTALL(FILES "${CMAKE_BINARY_DIR}/pkg-config/jsoncpp.pc"
132+
INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/pkg-config/jsoncpp.pc"
133133
DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig")
134134
ENDIF()
135135

0 commit comments

Comments
 (0)