Skip to content

Commit b03dab8

Browse files
committed
Changing CMakeList to avoid compiling LLStack.cpp file as a separate object file.
1 parent e2ba2ae commit b03dab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ project(Stack)
33

44
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
55

6-
set(SOURCE_FILES main.cpp)
6+
set(SOURCE_FILES main.cpp LLStack.h)
77
add_executable(Stack ${SOURCE_FILES})

0 commit comments

Comments
 (0)