File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,7 +120,6 @@ def build(self):
120120
121121 cmake = self ._configure_cmake ()
122122 cmake .build (build_type = "RelWithDebInfo" )
123- cmake .build (build_type = "Release" )
124123
125124 def package (self ):
126125 package_dir = pathlib .Path (self .build_folder , "package" )
@@ -138,23 +137,9 @@ def package(self):
138137 relWithDebInfo_dir ,
139138 ]
140139 )
141- subprocess .run (
142- [
143- "cmake" ,
144- "--install" ,
145- self .build_folder ,
146- "--config" ,
147- "Release" ,
148- "--prefix" ,
149- release_dir ,
150- ]
151- )
152140 self .copy (pattern = "*" , src = package_dir )
153141
154142 def package_info (self ):
155143 self .cpp_info .relwithdebinfo .libdirs = ["RelWithDebInfo/lib" ]
156144 self .cpp_info .relwithdebinfo .bindirs = ["RelWithDebInfo/Plugins" , "RelWithDebInfo" ]
157145 self .cpp_info .relwithdebinfo .includedirs = ["RelWithDebInfo/include" , "RelWithDebInfo" ]
158- self .cpp_info .release .libdirs = ["Release/lib" ]
159- self .cpp_info .release .bindirs = ["Release/Plugins" , "Release" ]
160- self .cpp_info .release .includedirs = ["Release/include" , "Release" ]
You can’t perform that action at this time.
0 commit comments