Replace subdirs() with multiple add_subdirectory() calls

This commit is contained in:
RElesgoe 2018-07-27 03:19:17 -07:00
parent a9b2a48ada
commit 0a20cf448a

View file

@ -68,7 +68,10 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /DEBUG /OPT:REF /OPT:ICF")
endif()
subdirs(src conf man files)
add_subdirectory(conf)
add_subdirectory(files)
add_subdirectory(man)
add_subdirectory(src)
if(WITH_LUA)
add_subdirectory(lua)
endif(WITH_LUA)