Skip to content

Commit

Permalink
cmake: added build type for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
edtubbs committed Feb 6, 2024
1 parent 8330aa7 commit ef8ebaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ IF(WITH_NET)
-DEVENT__DISABLE_REGRESS=ON
-DEVENT__DISABLE_BENCHMARK=ON
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/src/libevent/build)
execute_process(COMMAND cmake --build .
execute_process(COMMAND cmake --build . --config ${CMAKE_BUILD_TYPE}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/src/libevent/build)
file(COPY "${PROJECT_SOURCE_DIR}/src/libevent/build/include" DESTINATION "${PROJECT_SOURCE_DIR}")
file(COPY "${PROJECT_SOURCE_DIR}/src/libevent/include/event2" DESTINATION "${PROJECT_SOURCE_DIR}/include")
Expand Down

0 comments on commit ef8ebaa

Please sign in to comment.