Skip to content

Commit 5f40de0

Browse files
committed
modified the build procedure for libarchfpga so that the main.cpp file inside the src directory was used. Not doing this resultedin the main.cpp file inside the test folder being used as well and caused a failure in the github CI. Also note that this how other projects are also setup.
1 parent 3711019 commit 5f40de0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/libarchfpga/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.9)
22

33
project("libarchfpga")
44

5-
file(GLOB_RECURSE EXEC_SOURCES main.cpp)
5+
file(GLOB_RECURSE EXEC_SOURCES src/main.cpp)
66
file(GLOB_RECURSE LIB_SOURCES src/*.cpp)
77
file(GLOB_RECURSE LIB_HEADERS src/*.h)
88
files_to_dirs(LIB_HEADERS LIB_INCLUDE_DIRS)

0 commit comments

Comments
 (0)