Skip to content

Commit

Permalink
disable copying fltk-config
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Jan 11, 2025
1 parent 408863c commit b69712e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ else()
add_library(cfltk STATIC ${CFLTK_SRCS})
endif()

if(CFLTK_CARGO_BUILD AND (UNIX OR MSYS OR MINGW))
add_custom_command(
TARGET cfltk
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_INSTALL_PREFIX}/bin/fltk-config
"${CMAKE_INSTALL_PREFIX}/../../../../fltk-config")
endif()
# if(CFLTK_CARGO_BUILD AND (UNIX OR MSYS OR MINGW))
# add_custom_command(
# TARGET cfltk
# POST_BUILD
# COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_INSTALL_PREFIX}/bin/fltk-config
# "${CMAKE_INSTALL_PREFIX}/../../../../fltk-config")
# endif()

target_compile_features(cfltk PRIVATE cxx_std_17)

Expand Down

0 comments on commit b69712e

Please sign in to comment.