File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ endif()
3131find_package (panda3d REQUIRED p3framework p3direct)
3232find_package (Boost REQUIRED filesystem)
3333
34- find_package (fmt REQUIRED)
34+ find_package (fmt CONFIG REQUIRED)
3535if (TARGET fmt::fmt-header-only)
3636 set (FMT_TARGET fmt::fmt-header-only)
3737else () # for ubuntu libfmt-dev package
3838 set (FMT_TARGET fmt::fmt)
3939endif ()
4040
41- find_package (spdlog REQUIRED)
42- find_package (yaml-cpp REQUIRED)
41+ find_package (spdlog CONFIG REQUIRED)
42+ find_package (yaml-cpp CONFIG REQUIRED)
4343
4444# find freetype
4545find_package (Freetype REQUIRED)
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ function(render_pipeline_find_plugins plugin_id_list)
3030 endif ()
3131
3232 foreach (plugin_id ${missed_plugin_id_list} )
33- find_package (rpplugin_${plugin_id} REQUIRED HINTS "${PLUGIN_DIR_HINT} /${plugin_id} " )
33+ find_package (rpplugin_${plugin_id} CONFIG REQUIRED HINTS "${PLUGIN_DIR_HINT} /${plugin_id} " )
3434 endforeach ()
3535 endif ()
3636
You can’t perform that action at this time.
0 commit comments