Created
November 8, 2020 13:32
-
-
Save theirix/16401a7e4e8ddc4b1a7e21657a11f9da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/recipes/pdal/all/test_package/CMakeLists.txt b/recipes/pdal/all/test_package/CMakeLists.txt | |
index 4c9dd89c..f309a0f1 100644 | |
--- a/recipes/pdal/all/test_package/CMakeLists.txt | |
+++ b/recipes/pdal/all/test_package/CMakeLists.txt | |
@@ -4,8 +4,8 @@ project(test_package) | |
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) | |
conan_basic_setup() | |
-find_package(PDAL 2.0.0 REQUIRED CONFIG) | |
+find_package(PDAL 2.0.0 REQUIRED) | |
add_executable(${PROJECT_NAME} test_package.cpp) | |
-target_link_libraries(${PROJECT_NAME} PDAL::PDAL) | |
+target_link_libraries(${PROJECT_NAME} ${PDAL_LIBRARIES}) | |
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 11) | |
diff --git a/recipes/pdal/all/test_package/conanfile.py b/recipes/pdal/all/test_package/conanfile.py | |
index 84ee6873..1df90024 100644 | |
--- a/recipes/pdal/all/test_package/conanfile.py | |
+++ b/recipes/pdal/all/test_package/conanfile.py | |
@@ -4,7 +4,7 @@ from conans import ConanFile, CMake, tools | |
class TestPackageConan(ConanFile): | |
settings = "os", "compiler", "build_type", "arch" | |
- generators = "cmake", "cmake_find_package_multi" | |
+ generators = "cmake", "cmake_find_package" | |
def build(self): | |
cmake = CMake(self) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment