Skip to content

Commit

Permalink
Adjust dllcheck target
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed May 21, 2024
1 parent dd2a46e commit 8646398
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,8 @@ message("Output directory: ${CMAKE_INSTALL_PREFIX}/${BEXT_ROOT}")
#---------------------------------------------------------------------
# On Windows, if we get dlls built for the wrong configuration it can
# cause problems. Define a utility target to check
add_custom_target(dllcheck ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=\"${CMAKE_BUILD_TYPE}\" -DDLL_DIR=\"${CMAKE_INSTALL_PREFIX}/bext_output/install/bin\" -P ${CMAKE_SOURCE_DIR}/CMake/DllTypeCheck.cmake)
add_custom_target(dllcheck
COMMAND ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=\"$<CONFIG>\" -DDLL_DIR=\"${CMAKE_INSTALL_PREFIX}/bext_output/install/bin\" -P ${CMAKE_SOURCE_DIR}/CMake/DllTypeCheck.cmake)


# Local Variables:
Expand Down

0 comments on commit 8646398

Please sign in to comment.