From 7fbb5fb302eaa9d36c66dc43ea059df038c5a2d1 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Tue, 4 Oct 2022 13:25:07 +0300 Subject: [PATCH] 1.99.75 --- MyxCMakeConfigVersion.cmake | 2 +- README.md | 4 ++-- VERSION | 2 +- lib/TargetSetup.cmake | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MyxCMakeConfigVersion.cmake b/MyxCMakeConfigVersion.cmake index 4e5d8e5..5ae5153 100644 --- a/MyxCMakeConfigVersion.cmake +++ b/MyxCMakeConfigVersion.cmake @@ -1,4 +1,4 @@ -set(MYX_CMAKE_PACKAGE_VERSION "1.99.74") +set(MYX_CMAKE_PACKAGE_VERSION "1.99.75") if(MYX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) set(PACKAGE_VERSION_COMPATIBLE FALSE) else() diff --git a/README.md b/README.md index 4c54c9d..eace5fe 100644 --- a/README.md +++ b/README.md @@ -36,10 +36,10 @@ if(MYX_CMAKE_DIR) set(ENV{MYX_CMAKE_DIR} ${MYX_CMAKE_DIR}) endif() if(DEFINED ENV{MYX_CMAKE_DIR}) - find_package(MyxCMake 1.99.74 REQUIRED) + find_package(MyxCMake 1.99.75 REQUIRED) else() if(MYX_CMAKE_USE_SYSTEM) - find_package(MyxCMake 1.99.74 REQUIRED) + find_package(MyxCMake 1.99.75 REQUIRED) else() include(${PROJECT_SOURCE_DIR}/cmake/myx/MyxCMakeConfig.cmake) endif() diff --git a/VERSION b/VERSION index 8bd4eda..dd7c03d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.99.74 +1.99.75 diff --git a/lib/TargetSetup.cmake b/lib/TargetSetup.cmake index 4699e3d..fbc9a90 100644 --- a/lib/TargetSetup.cmake +++ b/lib/TargetSetup.cmake @@ -74,7 +74,7 @@ function(myx_target_setup NAME) install(TARGETS ${NAME} COMPONENT main RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif() - target_sources(${NAME} INTERFACE $) + target_sources(${NAME} PUBLIC $) target_sources(${NAME} PUBLIC ${ARG_PUBLIC_HEADERS}) target_sources(${NAME} PRIVATE ${ARG_CPP} ${ARG_PCH} ${ARG_PRIVATE_HEADERS}) target_link_libraries(${NAME} PRIVATE ${ARG_LINK_LIBRARIES})