Browse Source

Fix CMake options for ls-math 2022.1.0 recipe

Patrick-Christopher Mattulat 2 years ago
parent
commit
913a1a6ad3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      recipes/ls-math/2022_1_0/conanfile.py

+ 2 - 2
recipes/ls-math/2022_1_0/conanfile.py

@@ -35,8 +35,8 @@ class LsMathConan(ConanFile):
         cmake = CMake(self)
 
         if self.options.shared:
-            cmake.definitions['LS_MATH_BUILD_STATIC'] = "OFF"
-            cmake.definitions['LS_MATH_BUILD_SHARED'] = "ON"
+            cmake.definitions['BUILD_LS_MATH_STATIC'] = "OFF"
+            cmake.definitions['BUILD_LS_MATH_SHARED'] = "ON"
 
         cmake.configure(source_folder="ls-math")