Skip to content

Commit

Permalink
Added more cmake updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
5cript committed Jul 7, 2024
1 parent ff6108f commit b4daf06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 1 addition & 4 deletions cmake/dependencies/libcpppre.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ if(NUI_FETCH_LIBCPPPRE)
GIT_TAG ffc013750515f9e73342eb2a51efed284826ead3
)

FetchContent_GetProperties(libcpppre)
if(NOT libcpppre_POPULATED)
FetchContent_Populate(libcpppre)
endif()
FetchContent_MakeAvailable(libcpppre)

add_library(libcpppre INTERFACE)
target_include_directories(libcpppre INTERFACE ${CMAKE_BINARY_DIR}/_deps/libcpppre-src)
Expand Down
6 changes: 1 addition & 5 deletions cmake/dependencies/webview.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ if (NUI_FETCH_WEBVIEW)
URL ${NUI_WEBVIEW_BINARY_URL}
DOWNLOAD_EXTRACT_TIMESTAMP true
)
FetchContent_GetProperties(webview_binary)
if (webview_binary_POPULATED)
else()
FetchContent_Populate(webview_binary)
endif()
FetchContent_MakeAvailable(webview_binary)

if (CMAKE_SIZEOF_VOID_P EQUAL 8)
set(WEBVIEW_DLL_SUBDIRECTORY "x64")
Expand Down

0 comments on commit b4daf06

Please sign in to comment.