summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 098f963..4840d9c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,13 +46,11 @@ FetchContent_MakeAvailable(raygui)
# nativefiledialog
FetchContent_Declare(
nfd
- GIT_REPOSITORY https://github.com/hjalleboii/nativefiledialog.git # TODO: change to the original repo later
+ GIT_REPOSITORY https://github.com/btzy/nativefiledialog-extended.git
GIT_TAG master
)
FetchContent_MakeAvailable(nfd)
-add_subdirectory(${nfd_SOURCE_DIR}/build/cmake ${CMAKE_BINARY_DIR}/nfd_build)
-
-target_include_directories(sillyeditor PRIVATE ${raygui_SOURCE_DIR}/src ${nfd_SOURCE_DIR}/src/include)
+target_include_directories(sillyeditor PRIVATE ${raygui_SOURCE_DIR}/src)
target_link_libraries(sillyeditor PRIVATE raylib m nfd)