Quoted variables to make less confusing

This commit is contained in:
Walter Schell 2023-06-24 21:11:36 -04:00
parent b65e88424e
commit a808cd569f

View File

@ -10,12 +10,12 @@ add_executable(lua-config-package-build-test-using-shared-target "./lua-config-p
target_link_libraries(lua-config-package-build-test-using-shared-target Lua::lua_shared) target_link_libraries(lua-config-package-build-test-using-shared-target Lua::lua_shared)
add_executable(lua-config-package-build-test-using-variables "./lua-config-package-build-test.c") add_executable(lua-config-package-build-test-using-variables "./lua-config-package-build-test.c")
target_link_libraries(lua-config-package-build-test-using-variables ${LUA_LIBRARIES}) target_link_libraries(lua-config-package-build-test-using-variables "${LUA_LIBRARIES}")
add_library(lua-lib-module-compatible-mode UNKNOWN IMPORTED ${LUA_LIBRARY}) add_library(lua-lib-module-compatible-mode UNKNOWN IMPORTED "${LUA_LIBRARY}")
set_target_properties(lua-lib-module-compatible-mode PROPERTIES set_target_properties(lua-lib-module-compatible-mode PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES ${LUA_INCLUDE_DIR} INTERFACE_INCLUDE_DIRECTORIES "${LUA_INCLUDE_DIR}"
IMPORTED_LOCATION ${LUA_LIBRARY}) IMPORTED_LOCATION "${LUA_LIBRARY}")
add_executable(lua-config-package-build-test-using-module-compatible-mode "./lua-config-package-build-test.c") add_executable(lua-config-package-build-test-using-module-compatible-mode "./lua-config-package-build-test.c")
target_link_libraries(lua-config-package-build-test-using-module-compatible-mode lua-lib-module-compatible-mode) target_link_libraries(lua-config-package-build-test-using-module-compatible-mode lua-lib-module-compatible-mode)