diff --git a/CMakeLists.txt b/CMakeLists.txt index ce67036..954b0a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,8 +32,8 @@ if (STATICC) endif () endif (STATICC) -file(GLOB_RECURSE TEST_FILES "tests/*.cpp" "tests/*.hpp") if (NOT DEFINED CONAN_EXPORTED) + file(GLOB_RECURSE TEST_FILES "tests/*.cpp" "tests/*.hpp") add_executable(ArbutilsTests ${TEST_FILES} extern/catch.hpp) target_link_libraries(ArbutilsTests Arbutils) endif () diff --git a/conanfile.py b/conanfile.py index 97acb03..7f1f19e 100644 --- a/conanfile.py +++ b/conanfile.py @@ -30,6 +30,7 @@ class ArbutilsConan(ConanFile): cmake.definitions["STATICC"] = "On" cmake.configure() + self.output.info("running `cmake " + cmake.command_line + "`") cmake.build() def package(self):