Skip to content

Commit 644f2b4

Browse files
committed
Fix cmake install target on windows
Install the dll to the bin directory, instead of a non-existent CMAKE_INSTALL_RUNTIMEDIR.
1 parent 08d8a52 commit 644f2b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ if (JSON_VALIDATOR_INSTALL)
6262
NAMELINK_COMPONENT nlohmann_json_schema_validator_Development
6363
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT nlohmann_json_schema_validator_Development
6464
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/nlohmann COMPONENT nlohmann_json_schema_validator_Development
65-
RUNTIME DESTINATION ${CMAKE_INSTALL_RUNTIMEDIR} COMPONENT nlohmann_json_schema_validator_Runtime)
65+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT nlohmann_json_schema_validator_Runtime)
6666
else ()
6767
install(TARGETS nlohmann_json_schema_validator
6868
EXPORT nlohmann_json_schema_validatorTargets

0 commit comments

Comments
 (0)