update
This commit is contained in:
parent
311d74fdf4
commit
c5d5b355c5
@ -67,7 +67,7 @@ class cmake:
|
|||||||
self.__write_stack__.append(f"pybind11_add_module({project_name} {args_to_str(source)})")
|
self.__write_stack__.append(f"pybind11_add_module({project_name} {args_to_str(source)})")
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def find_package(self,package_name:str,quiet:Literal["REQUIRED","QUIET"]="REQUIRED"):
|
def find_package(self,package_name:str,quiet:Literal["REQUIRED","QUIET"]="REQUIRED")->Self:
|
||||||
"""
|
"""
|
||||||
find_package(<package> [version] [EXACT] [QUIET] [MODULE]
|
find_package(<package> [version] [EXACT] [QUIET] [MODULE]
|
||||||
[REQUIRED] [[COMPONENTS] [components...]]
|
[REQUIRED] [[COMPONENTS] [components...]]
|
||||||
@ -76,4 +76,5 @@ class cmake:
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
self.__write_stack__.append(f"find_package({package_name} {quiet})")
|
self.__write_stack__.append(f"find_package({package_name} {quiet})")
|
||||||
|
return self
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user