Fix Windows build
This commit is contained in:
parent
54da69b91a
commit
9d52593280
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ add_executable(chip8
|
|||
src/main.cpp
|
||||
src/compiler.hpp
|
||||
src/compiler.cpp)
|
||||
target_link_libraries(chip8 PRIVATE SDL2::Core chip8-shared imgui glad)
|
||||
target_link_libraries(chip8 PRIVATE SDL2::Main chip8-shared imgui glad)
|
||||
target_include_directories(chip8 PRIVATE src)
|
||||
set_target_properties(chip8 PROPERTIES CXX_STANDARD 17)
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@ int main(int argc, char* argv[]) {
|
|||
|
||||
std::vector<std::string> rom_paths;
|
||||
for(auto& p: std::filesystem::directory_iterator("roms/"))
|
||||
rom_paths.push_back(p.path());
|
||||
rom_paths.push_back(p.path().string());
|
||||
|
||||
bool running = true;
|
||||
while(running) {
|
||||
|
|
Reference in a new issue