Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
aliakseis committed Oct 5, 2023
1 parent b7103fa commit d4835e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ INSTALL_OPENSSL(${PROJECT_NAME})
INSTALL_RUNTIME_LIBRARIES()

# vcpkg stuff
if(MSVC)
if(MSVC AND DEFINED CMAKE_TOOLCHAIN_FILE AND NOT CMAKE_TOOLCHAIN_FILE STREQUAL "")
set(OUT_BINARY_FILE "${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}.exe")
get_filename_component(CMAKE_TOOLCHAIN_DIRECTORY ${CMAKE_TOOLCHAIN_FILE} DIRECTORY)

Expand Down

0 comments on commit d4835e2

Please sign in to comment.